<template>
	<view class="chatItem flex align-center" @click="$tools.route('./chat')">
		<view class="avatarVue relative">
			<u-avatar src="1" size="96"></u-avatar>
			<view class="dot absolute"></view>
		</view>
		
		<view class="right flex-between flex-column">
			<view class="flex-between align-center">
				<view class="flex align-center">
					<view class="fw600 fs30">万壮珊</view>
					<u-tag 
						text="♀ 28" 
						shape="circle" 
						bg-color="#FF719B" 
						color="#fff" 
						border-color="#FF719B" 
						size="mini" 
						style="margin-left: 20rpx;"/>
					<u-tag
						text="♂ 28" 
						shape="circle" 
						bg-color="#5696FF" 
						color="#fff" 
						border-color="#5696FF" 
						size="mini" 
						style="margin-left: 20rpx;"/>
				</view>
				<view class="time">15:32</view>
			</view>
			<view class="message line-1">hi,我在武汉相亲活动，对你感兴趣，可以聊…</view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				
			}
		}
	}
</script>

<style lang="less" scoped>
	.chatItem {
		width: 100%;
		padding: 30rpx 30rpx 15rpx;
		.avatarVue {
			width: 96rpx;
			height: 96rpx;
			.dot {
				width: 20rpx;
				height: 20rpx;
				background: #FA4141;
				border-radius: 50%;
				top: 0rpx;
				right: 0rpx
			}
		}
		.right {
			flex: 1;
			height: 86rpx;
			padding-left: 20rpx;
			.time {
				font-size: 24rpx;
				color: #AAAAAA;
			}
			.message {
				color: #8F8E93;
			}
		}
	}
</style>